/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

/* Container Layout */
.container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Sidebar Styles */
.sidebar {
    width: 200px;
    background-color: #007bff;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sidebar button:hover {
    background-color: #003f7f;
}

/* Main Content Styles */
.main-content {
    flex-grow: 1;
    padding: 20px;
    background-color: white;
    box-shadow: -1px 0px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

h2 {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    display: inline-block;
}

p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

/* Form Styles */
form {
    margin-top: 10px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
}

form input {
    width: calc(100% - 20px);
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

form button {
    padding: 8px 15px;
    font-size: 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0056b3;
}

form .cancel {
    background-color: #ccc;
    color: black;
}

form .cancel:hover {
    background-color: #aaa;
}

/* Image Display Styles */
.item-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.item-list .clothing-item,
.item-list .face-item,
.item-list .pose-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.item-list img {
    width: 100px;
    height: 100px;
    border: 2px solid #ccc;
    border-radius: 5px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.item-list img:hover {
    transform: scale(1.1);
    border-color: #007bff;
}

/* Upload Form */
.upload-form {
    margin-top: 20px;
    display: none;
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Section Animation */
.section {
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* User Info Card */
.user-info {
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.user-info p {
    font-size: 14px;
    margin: 5px 0;
}

/* Fullscreen Image Display */
.fullscreen-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.fullscreen-container img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.fullscreen-container .close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #fff;
    color: #333;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fullscreen-container .close-button:hover {
    background-color: #ddd;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    background-color: #f4f7fc;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.welcome-section h1 {
    font-size: 36px;
    color: white;
    font-weight: 600;
}

.welcome-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin: 15px 0;
}

/* Operation Guide */
.operation-guide {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.operation-guide h2 {
    font-size: 28px;
    color: #007bff;
    margin-bottom: 20px;
}

.operation-guide ol {
    list-style: decimal;
    padding-left: 20px;
    font-size: 18px;
    line-height: 1.8;
}

.operation-guide li {
    margin-bottom: 10px;
}

/* FAQ Section */
.faq-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    font-size: 28px;
    color: #007bff;
    margin-bottom: 20px;
}

.faq-section ul {
    list-style: none;
    padding: 0;
    font-size: 18px;
}

.faq-section li {
    margin-bottom: 15px;
}

.faq-section strong {
    font-weight: bold;
    color: #333;
}

/* Upload Info */
.upload-info {
    background-color: #fff7e6;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    color: #e07b00;
    margin-top: 20px;
}

/* Header Styles */
.header {
    background-color: #007bff;
    color: white;
    padding: 15px 0;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
